Android 11i(2022) SP1-11i(2023) interface changes

Historical version interface changes

This document describes the modified interfaces and other changes that can affect the compatibility possibly caused by these changes. The interface adjustment aims to provide users a more efficient, powerful, and perfect application.

Interface changes from SuperMap iMobile 11i(2022) SP1 for Android to SuperMap iMobile 11i(2023) for Android

Change ID Changed content
Module
1.
The module map adjusts the following classes:

New Interface:

  • isAlphaOverlay(): Determines whether the overlay is transparent
  • setLayerHierarchic(boolean bHierarchic): Sets layered drawing mode
  • isLayerHierarchic(): Determines whether to draw in a hierarchical mode
  • setDrawTextAtLast(boolean value): Sets whether the label is drawn last
  • isDrawTextAtLast(): Determines whether the label is drawn last
  • setUseTiandituSubdomain(boolean value): Sets whether to enable Tianditu subdomain service
  • isUseTiandituSubdomain(): Gets whether Tianditu subdomain service is enabled
  • setHighDefinitionScale(float fScale): Sets HD display scaling
  • getHighDefinitionScale(): Gets HD display scaling
mapping
2.
The module LayerSettingImage adjusts the following classes:

New Interface:

  • getSpecialValueColor(): Gets a special color
  • setSpecialValueColor(Color value): Sets a special color
  • getSpecialValue(): Gets a special value
  • setSpecialValue(double value): Sets special value
  • isSpecialValueTransparent(): Whether the special value is transparent
  • setSpecialValueTransparent(boolean value): Sets whether the special value is transparent
  • isImageBKColorReplace(): Whether the background color allows color replacement
  • setImageBKColorReplace(boolean value): Whether to replace the background color
  • isImageSpecialValueReplace(): Whether to allow special value replacement
  • setImageSpecialValueReplace(boolean value): Sets whether to replace the special value color
mapping
3.
New Module:

mapping
4.
ARRecordParameter adjusts the following classes:

New Interface:

  • getElevation(): Gets the elevation value
  • setElevation(Double elevation): Sets the elevation value
ar
5.
CameraRecordControl adjusts the following classes:

New Interface:

  • getElevation(): Gets the set elevation value
  • setElevation(Double elevation): Sets the elevation value
ar
6.
EffectView adjusts the following classes:

New Interface:

  • getTransformableNode(): Gets variable node
ar
7.
OcclusionHelper adjusts the following classes:

New Interface:

  • resume(): wakes up
  • pause(): pauses
  • destroy(): destroys the object
ar
8.
New Module:

ar
9.
ImageScanner adjusts the following classes:

New Interface:

  • addImage(String name, Bitmap img,float widthInMeters): Adds images
  • calculateParentNode(ARAugmentedImage e): Calculates the nodes of the image
ar
10.
New Classes:

realspace
11.
Layer3DType adjusts the following classes:

New Enumeration:

  • Layer3DType.MAP: map
  • Layer3DType.DATASET: dataset
realspace
12.
MapControl adjusts the following classes:

New Interface:

  • setDrawBackground(boolean b): sets whether to draw the background
  • setTopPlacement(boolean b): Sets whether the current map control is placed on the top layer
mapping
13.
Layer3Ds adjusts the following classes:

New Interface:

  • add(Dataset dataset,boolean addToHead): adds a 3D layer object through the dataset 3D layer collection
realspace
14.
TextStyle adjusts the following classes:

New Interface:

  • setOutlineWidth(int value): Sets the outline width
  • getOutlineWidth(): Gets the outline width
data
15.
Layer3DDynamicObject adjusts the following classes:

New Interface:

  • SetCollisionDetection(String fileName, boolean bColliDetection):
realspace
16.
EngineType adjusts the following classes:

New Enumeration:

  • EngineType.UDBX: udbx datasource engine
data
17.
AnimationManager adjusts the following classes:

New Interface:

  • getAnimationFromJSON(String filePath): Gets the animation content from the JSON file
  • saveAnimationToJSON(String filePath): Writes the animation content in JSON format to the specified file path
plot
18.
Scene adjusts the following classes:

New Interface:

  • setAutoLockOffsetTilt(Point3D value, double tilt):
realspace
19.
Layer3DOSGBFile adjusts the following classes:

New Interface:

  • setARModelScale(double valuex,double valuey,double valuez): AR layer setting zoom
  • setARModelRotation(double rotX,double rotY,double rotZ): AR layer setting rotation
  • setTranslation(double rotX,double rotY,double rotZ): AR layer setting translation
  • setInitialized(boolean status): Sets whether the layer is initialized
realspace
20.
New Module:

New class:

services
21.
FieldInfos adjusts the following classes:

New Interface:

  • contains(String name): Determines whether a field is contained
data
22.
New Interfaces:

ar
22.
PrjCoordSys adjusts the following classes:

New Interface:

  • PrjCoordSys(int EPSGCode): constructor
data
23.
Layer adjusts the following classes:

New Interface:

  • setLabelDisplayArea(GeoRegion region): Sets the label display area
  • getLabelDisplayArea(): Gets the label display area
  • setLabelDisplayAreaEnable(boolean value): Sets whether the label is displayed in the range
  • isLabelDisplayAreaEnable(): Gets whether the label is displayed in a range
  • setLayerWeight(int value): Sets the weight of the layer, only valid for the label layer, you need to enable the display of the top layer of the label
  • getLayerWeight(): Gets layer weight
  • setWebTileMaxLevel(int level): Sets the network dataset, the maximum tile display level
  • getWebTileMaxLevel(): Gets the network dataset, the maximum tile display level
mapping
24.
Navigation2 adjusts the following classes:

New Interface:

  • setBarrierPointsDuringNavi(Point2Ds value): Add obstacles while navigating
navi
25.
DatasetType adjusts the following classes:

New Enumeration added:

  • DatasetType.LINEM: routing dataset
data
26.
Environment adjusts the following classes:

New Enumeration added:

  • resetDeviceID(): Resets DeviceID, this interface is used to obtain wrong deviceID by misoperation
data